package com.matt.docpro.mapper;

import com.matt.docpro.model.Clinic;
import com.matt.docpro.model.Doctor;
import com.matt.docpro.model.Outcome;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;

/**
 *
 */
@Mapper
public interface OutcomeMapper {

    Outcome get(Outcome outcome);

    void insert(Outcome outcome);

    void updateState(Outcome outcome);

    List<Outcome> getAllDate();

    List<Clinic> getAllClinic();

    List<Outcome> getOutcomeByDateAndClinic(String date, String clinicId);

    List<Outcome> getOutcomeByDateRangeClinicDocStage(String strDt, String endDt, String clinicId, String docId, int stage);

    List<Doctor> getOutcomeDocByDate(String date, String clinicId);

}